package modles

type TestUser struct {
	Id        int    `json:"id" form:"id"`
	FirstName string `json:"first_name" form:"first_name"`
	LastName  string `json:"last_name" form:"last_name"`
}

/*func (t TestUser) Save() (string, error) {
	if &t == nil {
		return "0", nil
	}
	if &t.Id == nil {
		return "0", nil
	}

	id := t.Id
	err := db.Db.Create(&t).Error
	fmt.Println("保存结果:", err)
	return strconv.Itoa(id), err
}*/
